//
//  XWHomeTableViewController.swift
//  新浪 weibo
//
//  Created by xuwei on 16/1/18.
//  Copyright © 2016年 xuwei. All rights reserved.
//

import UIKit

class XWHomeTableViewController: XWVisitorViewController{

    override func viewDidLoad() {
        super.viewDidLoad()
        if visitorView != nil{
            visitorView?.setInfo(nil, message: "关注一些人，回这里看看有什么惊喜关注一些人，回这里看看有什么惊喜")
            return
        }
        
        
      setupUI()
    }

    private func setupUI(){
        
        navigationItem.leftBarButtonItem = UIBarButtonItem(imgNamed: "navigationbar_friendsearch", target: nil, action: "")
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(imgNamed: "navigationbar_pop", target: self, action: "pop")
   
    }
    
    @objc private func pop(){
        let vc = XWTempViewController()
        navigationController?.pushViewController(vc, animated: true)
        
        
    }
    
   

}
